package com.cmccgz.udacs_landlord_webapp.bean;

import com.cmccgz.udacs_landlord_webapp.base.AppConfig;

import java.io.Serializable;

/**
 * @author: Huang
 * @Descripion:
 * @date 2017/6/30 15:20
 */

public class FileResultBean implements Serializable {

    public String retcode;
    public FileBean ret;

    public class FileBean{
        public String type;
        public String mediaId;
        public String messageId;
        public String createdAt;

        public String getFilePath(){
            return AppConfig.getBaseUrl()
                    +"download?"+"mediaId="+mediaId+"&type="+type;
        }
    }

}
